<div class="hover <? echo $index % 2 ? 'even' : 'odd'; ?>">

	<?php
	echo CHtml::link(
		'<img src="images/abip/' . $data->typeIcon . '" class="float-right" ' .
		'title="' . CHtml::encode($data->typeName) . '" />',
		array('view', 'id'=>$data->_id)
	);
	?>

	<b><?php echo CHtml::encode($data->name); ?></b>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('typeId')); ?>:</b>
	<?php echo CHtml::encode($data->typeName); ?>
	<br />

	<?php
	$properties = array(
		'items'=>$this->createMenu('', $data->_id, true, 'icon'),
		'encodeLabel'=>false,
		'htmlOptions'=>array('class'=>'operations'),
	);
	$this->widget('zii.widgets.CMenu', $properties);
	?>

	<div style="clear: both"></div>

</div>
